{if !$_userid}
{Prompt::message('您尚未登陆, 请登陆后发布信息!', url('member/login'), 5)}
{/if}
{template 'header'}
<link rel="stylesheet" href="{CSS_URL}member_my.css"/>
{php $canMy = array(9,24,6,15,5,7,11,12,-9)}
<div class="member-top-block layout960 clear">
	<h2 class="fl left">1 会员信息发布权限</h2>
	<h2 class="fr right">2 发布</h2>
</div>
<div class="layout960 member-row">
	<h3>您当前权限享受的发布板块</h3>
	<div class="fn-clear">
	{loop $MYMODS $v}
		{if in_array($v, $canMy)}
		{if $v == 9}
		<span><a href="{url('member/my', 'mid='.$v.'&action=add')}">招聘</a></span>
		{elseif $v==-9}
		<span><a href="{url('member/my', 'mid=9&action=add&resume=1')}">简历</a></span>
		{else}
		<span><a href="{url('member/my', 'mid='.$v.'&action=add')}">{$MODULE[$v][name]}</a></span>
		{/if}
	{/if}
	{/loop}
	</div>
</div>
<div class="layout960 member-row clear">
	<h3>网站所有版块介绍</h3>
	{php $col=1}
	{loop $MODULE $k $m}
	{if $k==9}
		{php continue;}
	{/if}
	{if $k==12}
		{php $m_tem=$m;}
		{php continue;}
	{/if}
	{if in_array($k, $canMy)}
	{if ($col-1)%3===0}
	<div class="row fn-clear">
	{/if}
		{if in_array($k, $MYMODS)}
			{php $active = ' active'}
			{php $auth = true}
		{else}
			{php $active = ''}
			{php $auth = false}
		{/if}
		<div class="column-intro-block{if ($col+1)%3==0} mid-margin {/if}{$active}">
			<h4><a href="{url('member/my', 'mid=$k&action=add')}">{$m[name]}</a></h4>
			{if !$auth}
			<a href="{url('member/grade')}" class="member-upgrade">升级权限</a>
			{else}
			<a href="{url('member/my', 'mid=$k&action=add')}" class="member-publish">发布信息</a>
			{/if}
			{php $mi = PCache::read("module-$k.php")}
			<p>{$mi[intro]}</p>
		</div>
	{if $col%3===0}
	</div>
	{/if}
	{php $col++}
	{/if}
	{/loop}
		{php $mi = PCache::read("module-9.php")}
		<div class="column-intro-block active ">
		{if $_groupid>5}
			<h4><a href="{url('member/my', 'mid=9&action=add')}">招聘</a></h4>
			<a href="{url('member/my', 'mid=9&action=add')}"  class="member-publish">发布招聘</a>
			<p>{$mi[intro_company]}</p>
		{else}
			<h4><a href="{url('member/my', 'mid=9&action=add&resume=1')}">简历</a></h4>
			<a href="{url('member/my', 'mid=9&action=add&resume=1')}"  class="member-publish">添加简历</a>
			<p>{$mi[intro_member]}</p>
		{/if}
		</div>
	</div>
<div style="clear:both"></div>
	<!--网站所有版块介绍 start-->
	<div class="layout960 member-row">
		<h3>会员权限</h3>
		<p class="member-green">高级会员：可在注册城市分站发布所有模块信息及查看讯都车网任何信息</p>
		<p class="member-diamond">钻石会员：可在注册省份所有城市分站发布所有模块信息及查看讯都车网任何信息</p>
		<p class="member-gold">金钻会员：可在全国所有城市分站发布所有模块信息及查看讯都车网任何信息</p>
	</div>
</div>
{template 'footer'}